﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AddComment.ascx.cs" Inherits="SocialFront.Web.usercontrols.Shared.AddComment" %>
<asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
    <asp:View id="Form" runat="server">
        <p>Have your say!</p>
        <asp:Label runat="server" AssociatedControlID="Title">Title:<br /></asp:Label><asp:TextBox runat="server" ID="Title" /><br />
        <asp:Label ID="Label1" runat="server" AssociatedControlID="Comments">Comments:<br /></asp:Label><asp:TextBox runat="server" ID="Comments" Rows="4" TextMode="MultiLine" /><br />
        <asp:Button runat="server" ID="Submit" Text="Post Comment" OnClick="Submit_OnClick" />
    </asp:View>
    <asp:View ID="ThankYou" runat="server">
        <p>Thank you. Your comment will appear once it has been moderated.</p>
    </asp:View>
    <asp:View ID="PleaseLogin" runat="server">
        <p>You must <a href="/membership/signin">login</a> to post a comment.</p>
    </asp:View>
</asp:MultiView>